package com.ztgf.sys.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.ztgf.common.dto.BaseDTO;

/**
 * 系统用户登录日志表DTO
 *
 * @author YUE
 * @Date 2020-05-27 14:08:19
 */
@Data
@TableName("sys_operation_log")
@ApiModel(value="系统用户登录日志表对象", description="系统用户登录日志表对象")
public class SysOperationLogDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "用户名称")
    private String userName;
    @ApiModelProperty(value = "用户账号")
    private String userAccount;
    @ApiModelProperty(value = "类名")
    private String className;
    @ApiModelProperty(value = "方法名称")
    private String methodName;
    @ApiModelProperty(value = "返回值 0成功，其他失败")
    private Integer resultCode;
    @ApiModelProperty(value = "返回说明")
    private String resultMsg;
    @ApiModelProperty(value = "ip地址")
    private String ip;
}